package com.yuyou.tas.lesson.api;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.yuyou.tas.lesson.service.ICommDataConfigService;
import com.yuyou.tas.service.api.admin.entity.CommDataConfig;
import com.yuyou.tas.service.api.lesson.service.CommDataConfigAPI;

@RestController
public class CommDataConfigAPIImpl implements CommDataConfigAPI{

	@Autowired
	private ICommDataConfigService commDataConfigService;

	@Override
	public List<CommDataConfig> findUseByCategory(@RequestParam("category") Integer category) {
		return commDataConfigService.findUseByCategory(category);
	}
	

	
	
	
}
